package com.zxy.pojo.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class CourseContractDTO {
    private String createBy;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;
    private String updateBy;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") //返回给前端用这个
    private Date updateTime;
    private String id;
    private String contractNo;
    private String phone;
    private String name;
    private String subject;
    private String channel;
    private Integer activityId;
    private Integer courseId;
    private String status;
    private String fileName;
    private BigDecimal coursePrice;
    private String discountType;
    private BigDecimal order;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date finishTime;
    private Long businessId;
    private Integer deptId;
}
